+2004-05-06 Sven Neumann <sven@gimp.org>
+
+ * gtk/gtkexpander.c (gtk_expander_size_allocate): in RTL mode,
+ position the title lable next to the arrow just as we do for LTR
+ rendering. Fixes bug #141825.
+
2004-05-06 Matthias Clasen <mclasen@redhat.com>
* docs/RELEASE-HOWTO: Document the new policy of
+2004-05-06 Sven Neumann <sven@gimp.org>
+
+ * gtk/gtkexpander.c (gtk_expander_size_allocate): in RTL mode,
+ position the title lable next to the arrow just as we do for LTR
+ rendering. Fixes bug #141825.
+
2004-05-06 Matthias Clasen <mclasen@redhat.com>
* docs/RELEASE-HOWTO: Document the new policy of
+2004-05-06 Sven Neumann <sven@gimp.org>
+
+ * gtk/gtkexpander.c (gtk_expander_size_allocate): in RTL mode,
+ position the title lable next to the arrow just as we do for LTR
+ rendering. Fixes bug #141825.
+
2004-05-06 Matthias Clasen <mclasen@redhat.com>
* docs/RELEASE-HOWTO: Document the new policy of
+2004-05-06 Sven Neumann <sven@gimp.org>
+
+ * gtk/gtkexpander.c (gtk_expander_size_allocate): in RTL mode,
+ position the title lable next to the arrow just as we do for LTR
+ rendering. Fixes bug #141825.
+
2004-05-06 Matthias Clasen <mclasen@redhat.com>
* docs/RELEASE-HOWTO: Document the new policy of
ltr = gtk_widget_get_direction (widget) != GTK_TEXT_DIR_RTL;
- label_allocation.x = widget->allocation.x + border_width + focus_width + focus_pad;
if (ltr)
- label_allocation.x += expander_size + 2 * expander_spacing;
+ label_allocation.x = (widget->allocation.x +
+ border_width + focus_width + focus_pad +
+ expander_size + 2 * expander_spacing);
+ else
+ label_allocation.x = (widget->allocation.x + widget->allocation.width -
+ (label_requisition.width +
+ border_width + focus_width + focus_pad +
+ expander_size + 2 * expander_spacing));
+
label_allocation.y = widget->allocation.y + border_width + focus_width + focus_pad;
label_allocation.width = MIN (label_requisition.width,